package com.lijian.user.openfeign.client;


import com.lijian.common.domain.R;
import com.lijian.common.util.BeanUtils;
import com.lijian.user.openfeign.dto.NoteDto;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.Collection;

/**
 * @author LiJian
 * @date 2024-08-14
 */
@FeignClient(value = "note-service")
public interface NoteClient {

    @ApiOperation("新增笔记")
    @PostMapping("/note/add")
     boolean saveNote(@RequestBody NoteDto note);

    @ApiOperation("获取集合笔记列表")
    @GetMapping("/note/getNoteList")
     R<?> getNoteList(@RequestParam String fid);

}
